package com.training.persistence.dao;

import java.util.List;

import com.training.persistence.entity.Player;

public interface PlayerDao {

	public Player savePlayer(Player player);

	public Player updatePlayer(Player player);

	public List<Player> findAllPlayers();

	public Player findPlayerById(Long id);

	public Player findPlayerByUserName(String userName);
	
	public Player findPlayerByUserNameAndPassword(String userName, String password);
}
